import request from '@/config/axios'

// 随访信息列表
export const getRandomAccessList = (data: any) => {
  return request.post({ url: '/business/follow/page', data })
}

// 获得随访信息详情
export const getRandomAccessDetail = async (id: string) => {
  return await request.get({ url: '/business/follow/get?id='+id})
}

// 导出模板
export const exportPost = async (params) => {
  return await request.download({ url: '/business/follow/export-excel', params })
}